package com.example.demo.entity;

import java.io.Serializable;
import java.util.Date;

public class Document implements Serializable {
    private Integer documentId;

    private String docuName;

    private Integer docuProjectId;

    private Integer docuCompanyId;

    private Date docuCreatDate;

    private Date docuUpdateTime;

    private Integer docuCreaterId;

    private Integer docuAuthorityVisitor;

    private Integer docuAuthorityEmployee;

    private String docuAddress;

    private static final long serialVersionUID = 1L;

    public Integer getDocumentId() {
        return documentId;
    }

    public void setDocumentId(Integer documentId) {
        this.documentId = documentId;
    }

    public String getDocuName() {
        return docuName;
    }

    public void setDocuName(String docuName) {
        this.docuName = docuName == null ? null : docuName.trim();
    }

    public Integer getDocuProjectId() {
        return docuProjectId;
    }

    public void setDocuProjectId(Integer docuProjectId) {
        this.docuProjectId = docuProjectId;
    }

    public Integer getDocuCompanyId() {
        return docuCompanyId;
    }

    public void setDocuCompanyId(Integer docuCompanyId) {
        this.docuCompanyId = docuCompanyId;
    }

    public Date getDocuCreatDate() {
        return docuCreatDate;
    }

    public void setDocuCreatDate(Date docuCreatDate) {
        this.docuCreatDate = docuCreatDate;
    }

    public Date getDocuUpdateTime() {
        return docuUpdateTime;
    }

    public void setDocuUpdateTime(Date docuUpdateTime) {
        this.docuUpdateTime = docuUpdateTime;
    }

    public Integer getDocuCreaterId() {
        return docuCreaterId;
    }

    public void setDocuCreaterId(Integer docuCreaterId) {
        this.docuCreaterId = docuCreaterId;
    }

    public Integer getDocuAuthorityVisitor() {
        return docuAuthorityVisitor;
    }

    public void setDocuAuthorityVisitor(Integer docuAuthorityVisitor) {
        this.docuAuthorityVisitor = docuAuthorityVisitor;
    }

    public Integer getDocuAuthorityEmployee() {
        return docuAuthorityEmployee;
    }

    public void setDocuAuthorityEmployee(Integer docuAuthorityEmployee) {
        this.docuAuthorityEmployee = docuAuthorityEmployee;
    }

    public String getDocuAddress() {
        return docuAddress;
    }

    public void setDocuAddress(String docuAddress) {
        this.docuAddress = docuAddress == null ? null : docuAddress.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", documentId=").append(documentId);
        sb.append(", docuName=").append(docuName);
        sb.append(", docuProjectId=").append(docuProjectId);
        sb.append(", docuCompanyId=").append(docuCompanyId);
        sb.append(", docuCreatDate=").append(docuCreatDate);
        sb.append(", docuUpdateTime=").append(docuUpdateTime);
        sb.append(", docuCreaterId=").append(docuCreaterId);
        sb.append(", docuAuthorityVisitor=").append(docuAuthorityVisitor);
        sb.append(", docuAuthorityEmployee=").append(docuAuthorityEmployee);
        sb.append(", docuAddress=").append(docuAddress);
        sb.append("]");
        return sb.toString();
    }
}